package com.by.mapper.house;

import com.by.bean.house.House;
import com.by.common.crud.IMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HouseMapper extends IMapper<House> {

    /**
     * 根据楼座名和单元 查询房间号
     */
    List<String> queryBytName(@Param("tname") String tname,@Param("unit") String unit);

    /**
     * 根据id查询房间号
     */
    String queryById(int id);


}
